<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <p>我是王老师</p>
    <!-- <input type="text" value="王老师"><br> -->
    <!-- <input type="button" value="提交" > -->
    <script>
        // const ipt = document.querySelector('input')
        const p = document.querySelector('p')
        const bth = document.querySelector('input')
        // console.log(ipt.value)
        console.log(p.innerHTML)
        console.log(btn.disabled)
        btn.disabled = 'true'
    </script>
</body>
</html>